package com.lovo.commom.CscRemote;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.time.LocalDate;
@FeignClient(name = "cscTwo", path = "/userOrder",contextId = "userOrder")
public interface ICscUserOrderRemote {
    @GetMapping("CscUpdateStatus/{orderIdNum}/{status}/{payDate}")
    public boolean CscUpdateStatus(@PathVariable("orderIdNum") String orderIdNum, @PathVariable("status") int status,
                                   @PathVariable("payDate") String payDate);

    @GetMapping("updateStatusTo3/{idNum}")
    public String updateStatusTo3(@PathVariable("idNum") String idNum);
}
